From: Keir Fraser Date: Wed, 6 Jan 2010 08:18:04 +0000 (+0000) Subject: tmem: Only enable by default for x86_64 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12784 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=bf3f5a47a09bfac278c08679bd142869e55df19d;p=xen.git tmem: Only enable by default for x86_64 While tmem has gotten limited testing with a 32-bit Xen, it has severe limitations due to 32-bit heap restrictions. So, turn it off by default for 32-bit so nobody accidentally runs into this. Signed-off by: Dan Magenheimer --- diff --git a/xen/common/tmem_xen.c b/xen/common/tmem_xen.c index b4229b8b3f..ba3f03ca97 100644 --- a/xen/common/tmem_xen.c +++ b/xen/common/tmem_xen.c @@ -14,7 +14,11 @@ #define EXPORT /* indicates code other modules are dependent upon */ +#ifdef __x86_64__ EXPORT int opt_tmem = 1; +#else +EXPORT int opt_tmem = 0; +#endif boolean_param("tmem", opt_tmem); EXPORT int opt_tmem_compress = 0;